<?php

namespace Model\ExamBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ExamQuestionGroup
 *
 * @ORM\Table(name="examQuestionGroup")
 * @ORM\Entity(repositoryClass="Model\ExamBundle\Repository\ExamQuestionGroupRepository")
 */
class ExamQuestionGroup
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="examId", type="integer")
     */
    private $examId;

    /**
     * @var string
     *
     * @ORM\Column(name="title", type="string", length=255)
     */
    private $title;

    /**
     * @var string
     *
     * @ORM\Column(name="intro", type="text")
     */
    private $intro;

    /**
     * @var int
     *
     * @ORM\Column(name="orders", type="integer")
     */
    private $orders;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set examId
     *
     * @param integer $examId
     *
     * @return ExamQuestionGroup
     */
    public function setExamId($examId)
    {
        $this->examId = $examId;

        return $this;
    }

    /**
     * Get examId
     *
     * @return int
     */
    public function getExamId()
    {
        return $this->examId;
    }

    /**
     * Set title
     *
     * @param string $title
     *
     * @return ExamQuestionGroup
     */
    public function setTitle($title)
    {
        $this->title = $title;

        return $this;
    }

    /**
     * Get title
     *
     * @return string
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * Set intro
     *
     * @param string $intro
     *
     * @return ExamQuestionGroup
     */
    public function setIntro($intro)
    {
        $this->intro = $intro;

        return $this;
    }

    /**
     * Get intro
     *
     * @return string
     */
    public function getIntro()
    {
        return $this->intro;
    }

    /**
     * Set orders
     *
     * @param integer $orders
     *
     * @return ExamQuestionGroup
     */
    public function setOrders($orders)
    {
        $this->orders = $orders;

        return $this;
    }

    /**
     * Get orders
     *
     * @return int
     */
    public function getOrders()
    {
        return $this->orders;
    }
}

